/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package apus.entity;

import java.text.DateFormat;
import java.util.Date;

/**
 * The <code>Call</code> interface defines methods to Call.
 * @author  Maxim Vasilevsky
 * @author  Roman Dyatkovsky
 * @see     java.text.DateFormat
 * @see     apus.entity.PhoneNumber
 * @since   APUS v0.5
 */

public interface Call extends AbstractEntity{

    /**
     * Return the date of the call.
     * @return The date.
     */
    public Date getDateOfCall();
    
    /**
     * Return the date of the end of the period.
     * @return number of seconds.
     */
    public int getDuration();

    /**
     * Return the number of caller.
     * @return phone number.
     */
    public PhoneNumber getNumberFrom();

    /**
     * Return the date of called.
     * @return phone number.
     */
    public PhoneNumber getNumberTo();
       
}
